class CreateAdvertisements < ActiveRecord::Migration[5.2]
  def change
    create_table :advertisements do |t|
      t.string :image
      t.string :page_url
      t.string :page
      t.string :page_type
      t.string :params
      t.integer :position, default: 0

      t.timestamps
    end
  end
end
